package com.rongc.client.freight.business.carrier.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.business.mine.model.CarBean;


/*
*  司机获取车辆接口
* */

public class CarListApi extends AbsRequest<CarListApi.CarListParams, CarBean[]> {

    public CarListApi(CarListParams feedbackParams, Listener<CarBean[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getCarListUrl(), feedbackParams, listener, errorListener, CarBean[].class);
    }

    public static class CarListParams extends BaseParams {
        public CarListParams(String userId) {
            put("userId", userId);

        }
    }


}
